package com.anytron.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "node_info")
public class NodeInfo implements Serializable {
	
	private static final long serialVersionUID = -9063715757362828339L;
	@Id
	@Column(name="id")
	private Long id; 
	@Column(name="node_name")
	private String nodeBName; 
	@Column(name="node_host")
	private String nodeHost; 
	@Column(name="node_port")
	private String nodePort; 
	@Column(name="node_user")
	private String nodeUser; 
	@Column(name="node_pasw")
	private String nodePasw; 
	@Column(name="create_time")
	private Date createTime;
	@Column(name="update_time")
	private Date updateTime;
	@Column(name="node_pin")
	private String nodePin;
	
	
	public String getNodePin() {
		return nodePin;
	}
	public void setNodePin(String nodePin) {
		this.nodePin = nodePin;
	}
	public String getNodeBName() {
		return nodeBName;
	}
	public void setNodeBName(String nodeBName) {
		this.nodeBName = nodeBName;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getNodeHost() {
		return nodeHost;
	}
	public void setNodeHost(String nodeHost) {
		this.nodeHost = nodeHost;
	}
	public String getNodePort() {
		return nodePort;
	}
	public void setNodePort(String nodePort) {
		this.nodePort = nodePort;
	}
	public String getNodeUser() {
		return nodeUser;
	}
	public void setNodeUser(String nodeUser) {
		this.nodeUser = nodeUser;
	}
	public String getNodePasw() {
		return nodePasw;
	}
	public void setNodePasw(String nodePasw) {
		this.nodePasw = nodePasw;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	

}
